<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp" %>
<%@ page import="com.chanyachting.emall.util.RequestUtil" %>
<%@ page import="com.chanyachting.emall.service.MemberaccountService" %>
<%@ page import="com.chanyachting.emall.service.MemberService" %>
<%@ page import="com.chanyachting.emall.serviceImpl.MemberaccountServiceImpl" %>
<%@ page import="com.chanyachting.emall.domain.Memberaccount" %>
<%@ page import="com.chanyachting.emall.domain.Member" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<link href="css/import.css" type="text/css" rel="stylesheet" />
<title></title>
</head>

<body>
<div class="tab_box">
	<div class="tab_menu">
         
        <a href="memberAccount_emallProduct.jsp" >订购产品/服务</a>
        <a href="memberAccount_online_pay.jsp">充值</a>
        <a href="memberAccount_info.jsp" class="current">帐户信息</a>
        <a href="memberAccount_orders.jsp">付费记录</a>
    </div>
    <div class="tab_submenu"></div>
</div>

<%

	RequestUtil ru=new RequestUtil(request);
	
	Member member=(Member)ru.getSessionObject(MemberService.MEMBER_IN_SESSION,new Member());

	//获得指定会员的会员账号对象
	MemberaccountService maService=new  MemberaccountServiceImpl();
	
	Memberaccount ma=maService.getMemberaccountByMember(member);
	
	if(ma==null) ma=new Memberaccount();

%>



<form id="form1" name="form1" method="post" action="">
  <table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="orders">
    <tr>
      <td height="28" bgcolor="#F0F0F0">账户状态</td>
      <td bgcolor="#F0F0F0"><%= ma.getStatus() %></td>
      <td bgcolor="#F0F0F0"><label></label></td>
    </tr>
    <tr>
      <td height="28">可用余额</td>
      <td>￥0.00元</td>
      <td>直接将余额转化为点数在网站使用</td>
    </tr>
    <tr>
      <td height="28" bgcolor="#F0F0F0">点数</td>
      <td bgcolor="#F0F0F0"><%= ma.getAccountPoint() %></td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
    </tr>
    <tr>
      <td height="28">消费总额</td>
      <td><%= ma.getUsedAmount() %></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="28" bgcolor="#F0F0F0">押金总额</td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
    </tr>
    <tr>
      <td height="28">宽限期</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="28" bgcolor="#F0F0F0">到期日</td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
      <td bgcolor="#F0F0F0">&nbsp;</td>
    </tr>
    <tr>
      <td height="28">逾期未付</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
</body>
</html>
